
#ifndef GISAO_STUB_4_WEB_H
#define GISAO_STUB_4_WEB_H

#include <string>
#include "c2cent/base/basestub4web.h"
#include "app_platform/cntl_info.h"
#include "intf_gisao.h"

namespace erp
{
namespace gis
{
namespace ao
{
	#define GISAO_STUB4WEB_VERSION "ERP_GIS_AO___GISAO__STUB4WEB_VERSION__1.0 2013-08-15 11:06:15"
    const std::string GISAO_STUB4WEB_NOUSE = GISAO_STUB4WEB_VERSION;
	
	class CGisAoStub4Web : public c2cent::CBaseStub4Web, public IGisAo	{
	public:
		uint32_t GetIpAddressByIp(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const std::set<uint32_t >& ipList,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint32_t,erp::gis::po::CIpAddressPo >& ipAddress,
				std::string& outReserve
	    );
		uint32_t GetSmallestRegionByIp(
				const CCntlInfo& rCntlInfo,

				const std::string& machineKey,
				const std::string& source,
				uint32_t sceneId,
				const std::set<uint32_t >& ipList,
				const std::string& inReserve,
				std::string& errmsg,
				std::map<uint32_t,std::vector<erp::gis::po::CRegionPo > >& smallestRegion,
				std::string& outReserve
	    );
	};

}
}
}
 
#endif /* GISAO_STUB_4_WEB_H */
